package com.sq.bootshiro.modules.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sq.bootshiro.modules.entity.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

@Mapper
public interface RoleMapper extends BaseMapper<Role> {

    Set<Role> findRoleListByUserId(@Param("userId") String userId);

}
